package com.itcat.mysql.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class PmsBrand implements Serializable {
  @TableId(value = "id",type = IdType.AUTO)
  @JsonSerialize(using = ToStringSerializer.class)
  private Long id;
  private String name;
  private String firstLetter;
  private Long sort;
  private Long factoryStatus;
  private Long showStatus;
  private Long productCount;
  private Long productCommentCount;
  private String logo;
  private String bigPic;
  private String brandStory;
}
